﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace ASEPMainProgram.Entities.MyLog
{
    /// <summary>
    /// 
    /// </summary>
    public class XinjeCloudLogModel
    {
        /// <summary>
        /// 
        /// </summary>
        [Key, Required]
        [Column(TypeName = "int")]
        public int ID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Required]
        [Column(TypeName = "timestamp")]
        public DateTime Time { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Required]
        [Column(TypeName = "text")]
        public string LogInfo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string ItemId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Column(TypeName = "varchar(32)")]
        public string RegGroupId
        { get; set; }

    }
}
